package com.example.demo.dao;

import com.example.demo.dto.PageLimit;
import com.example.demo.pojo.People;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PeopleDao {
    @Select("select * from user limit #{start},#{items}")
    List<People> selectAllPeople(PageLimit pageLimit);
}
